<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script>
			function fun(){
				let n = 'a';
				if(true){
					let n = 'b';
				}
				console.log(n);		//'a'
			}
			fun();
		</script>
	</body>
</html>
